#ifndef EDITORCORE_HISTORY_H
#define EDITORCORE_HISTORY_H

#include <vector>
#include "EditorCore/Actions/IAction.h"

namespace editor_core {

	class History
	{
	public:
		History();

		void Do( IAction* action );
		void Undo();
		void Redo();

	private:
		std::vector<IAction*> m_actionList;
		std::size_t m_currentActionIndex;
	};
}

#endif
